<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>你笔我画</title>
    <link rel="stylesheet" href="./css/style.css" />
</head>

<body>
    <div class="main">
        <canvas width="500px" height="500px" id="cvs"></canvas>

        <!-- 工具栏 -->
        <div class="tool">
            <!-- 笔刷 -->
            <svg class="brush active">
          <use xlink:href="#icon-huabi1"></use>
        </svg>
            <!-- 橡皮擦 -->
            <svg class="eraser">
          <use xlink:href="#icon-xiangpica"></use>
        </svg>
            <!-- 清空 -->
            <svg class="clear">
          <use xlink:href="#icon-ziyuan14"></use>
        </svg>

            <!-- 保存图片 -->
            <svg class="save">
          <use xlink:href="#icon-baocun1" ></use>
        </svg>
        </div>

        <!-- 颜色板 -->
        <ol class="colors">
            <li class="black active"></li>
            <li class="red"></li>
            <li class="green"></li>
            <li class="blue"></li>
            <li class="skyblue"></li>
            <li class="orange"></li>
        </ol>

        <script src="./js/main.js"></script>
        <!-- <script src="//at.alicdn.com/t/font_2052311_x9ducj7noxl.js"></script> -->
        <script src="./js/icon.js"></script>
    </div>
</body>

</html>